/*
Program:     MolFlow+ / Synrad+
Description: Monte Carlo simulator for ultra-high vacuum and synchrotron radiation
Authors:     Jean-Luc PONS / Roberto KERSEVAN / Marton ADY / Pascal BAEHR
Copyright:   E.S.R.F / CERN
Website:     https://cern.ch/molflow

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Full license text: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
*/
#pragma once

#include "GLApp/GLWindow.h"

class GLTextField;
class GLButton;
class GLLabel;

class Geometry;
class Worker;

class SelectDialog : public GLWindow {

public:
  // Display a modal dialog and return the code of the pressed button
  SelectDialog(Geometry *g);
  int  rCode;
  void ProcessMessage(GLComponent *src,int message);
private:
 
	GLButton * selButton, *addButton, *remButton;
  Geometry     *geom;
  Worker	   *work;
  GLTextField *numText;
};
